﻿


using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{


    public class Origins_Material
    {

        /// <summary>
        ///  素材id
        /// </summary>
        [Property("Key")]
        public int? MaterialId
        {
            get;
            set;
        }

        /// <summary>
        ///  公司id
        /// </summary>
        public int? EnterpriseId
        {
            get;
            set;
        }

        /// <summary>
        ///  素材名称
        /// </summary>
        public string MaterialName
        {
            get;
            set;
        }

        /// <summary>
        ///  素材下模块的标题统一颜色
        /// </summary>
        public string TitleColor
        {
            get;
            set;
        }

        /// <summary>
        ///  素材下模块的标题统一样式
        /// </summary>
        public int? TitleStyle
        {
            get;
            set;
        }

        /// <summary>
        ///  备注
        /// </summary>
        public string Remark
        {
            get;
            set;
        }

        /// <summary>
        ///  批次id
        /// </summary>
        public int? ProductBatch
        {
            get;
            set;
        }

        /// <summary>
        ///  素材分类0应用素材1体验素材
        /// </summary>
        public int? Category
        {
            get;
            set;
        }

        /// <summary>
        ///  素材二维码图片url地址
        /// </summary>
        public string QRCode
        {
            get;
            set;
        }

        /// <summary>
        ///  素材版本0标准版1黄金版2白金版4钻石版
        /// </summary>
        public int? MaterialType
        {
            get;
            set;
        }

        /// <summary>
        ///  除钻石版外其他版本素材与模块均为一对一关系
        /// </summary>
        public int? ModuleId
        {
            get;
            set;
        }

        /// <summary>
        ///  是否显示认证图标0显示1隐藏
        /// </summary>
        public int? IsAuthNavShow
        {
            get;
            set;
        }

        /// <summary>
        ///  封面图片url
        /// </summary>
        public string CoverImg
        {
            get;
            set;
        }

        /// <summary>
        ///  是否删除0未删除1已删除
        /// </summary>
        public int? ViewDel
        {
            get;
            set;
        }

        /// <summary>
        ///  排序值
        /// </summary>
        public int? Sequence
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public int? ChangeLoginID
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public string ChangeLoginName
        {
            get;
            set;
        }

        /// <summary>
        ///  
        /// </summary>
        public System.DateTime ChangeDate
        {
            get;
            set;
        }

        /// <summary>
        /// 产品ID//素材用于获取关联的产品信息
        /// </summary>
        /// 
        [NotMapped]
        public string ProductId
        {
            get;
            set;
        }


        /// <summary>
        /// 防伪码
        /// </summary>
        [NotMapped]
        public string FwSecretCode
        {
            get;
            set;
        }



    }



}











